﻿using System.ComponentModel.DataAnnotations;
using Tb.App.Domain.Rabbit.Audit;

namespace Tb.App.API.Dtos.Rabbit
{
    /// <summary>
    /// 基本信息商品dto
    /// </summary>
    public class BasicDTO:AuditBase
    {
        /// <summary>
        /// 基本信息主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 商品名称Id
        /// </summary>
        public int Sid { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? StoreName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int Expiration { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? License { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Company { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string? Picture { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int? Completeness { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
